package cn.icanci.loopstack.ddk.web.model;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
* DdkRegister
*
* @author icanci
* @since 1.0 Created in 2023/01/07 15:22
*/
public class Register implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id  主键
     */
    private Long              id;

    /**
     * uuid  雪花算法随机UUID
     */
    private String            uuid;

    /**
     * desc  功能描述
     */
    private String            desc;

    /**
     * create_time  创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date              createTime;

    /**
     * update_time  更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date              updateTime;

    /**
     * is_delete  状态 1无效，0有效
     */
    private Integer           isDelete;

    /**
     * env  环境
     */
    private String            env;

    /**
     * client_address  client 服务ip地址
     */
    private String            clientAddress;

    /**
     * client_port  client 服务端口
     */
    private Integer           clientPort;

    /**
     * app_id  client 服务服务id
     */
    private String            appId;

    /**
     * register_time  服务注册时间
     */
    private Date              registerTime;

    /**
     * last_update_time  上次注册更新时间
     */
    private Date              lastUpdateTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return this.uuid;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() {
        return this.isDelete;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public String getEnv() {
        return this.env;
    }

    public void setClientAddress(String clientAddress) {
        this.clientAddress = clientAddress;
    }

    public String getClientAddress() {
        return this.clientAddress;
    }

    public void setClientPort(Integer clientPort) {
        this.clientPort = clientPort;
    }

    public Integer getClientPort() {
        return this.clientPort;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppId() {
        return this.appId;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() {
        return this.registerTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime() {
        return this.lastUpdateTime;
    }
}